<tagLib name="html" />
<include file="Public:top" />
<style>
input{margin-bottom:10p;}
tr{ height:34px;}
</style>
<script>
jQuery(function(){
	$('#cc').combobox({
		url:'__URL__/showSchoolList',width:150,
		valueField:'sName',
		textField:'sName'
	});	
})
var editor;
KindEditor.ready(function(K) {
	editor = K.create('textarea[name="jz_d"]', {
		width:'600px',height:'300px',allowFileManager:true,
		items : [
			'fontname', 'fontsize', '|', 'forecolor', 'hilitecolor', 'bold', 'italic', 'underline',
			'removeformat', '|', 'justifyleft', 'justifycenter', 'justifyright', 'insertorderedlist',
			'insertunorderedlist', '|', 'emoticons', 'image', 'link','flash','media','insertfile','map']
	});
});
function save(){
	$('#jz_d').val(editor.html());
	$.post("__URL__/insert/",$('#form1').serialize(),function(data){
		$.messager.show({title:'提示信息',msg:data.info,timeout:2000,showType:'slide'});
	}//function
	,"json");//post	
}
</script>
<div id="main" class="" >
<div class="content">
<div class="title">新增教育物业信息 [ <a href="__URL__">返回列表</a> ]</div>
<form method='post' id="form1" action="__URL__/insert/" >
<table cellpadding=3 cellspacing=3>
<tr>
  <td width="80" class="tRight" >物业名称：</td>
  <td width="213" class="tLeft" ><input type="text" class="medium bLeft" name="wymc" value="" id="wymc" /></td>
	<td width="471" class="tLeft" >物业详细情况</td>
</tr>
<tr>
  <td class="tRight" >单元号：</td>
  <td class="tLeft" ><input type="text" class="medium bLeft" name="dyh" value="" id="dyh" /></td>
	<td width="471" rowspan="9" valign="top" class="tLeft" ><textarea class=""  name="jz_d" rows="5" cols="57" id="jz_d"></textarea></td>
</tr>
<tr>
	<td class="tRight">总面积：</td>
	<td class="tLeft"><input type="number" class="medium bLeft" name="zmj" value="" id="zmj" /></td>
	</tr>
<tr>
	<td class="tRight" >建筑面积：</td>
	<td class="tLeft" ><input type="number" class="medium bLeft" name="jzmj" value="" id="jzmj" /></td>
	</tr>
<tr>
	<td class="tRight" >&nbsp;</td>
	<td class="tLeft" >&nbsp;</td>
	</tr>
<tr>
	<td class="tRight" >&nbsp;</td>
	<td class="tLeft" >&nbsp;</td>
	</tr>
<tr>
  <td class="tRight" >&nbsp;</td>
  <td class="tLeft" >&nbsp;</td>
	</tr>
<tr>
  <td class="tRight" >&nbsp;</td>
  <td class="tLeft" >&nbsp;</td>
	<tr>
	  <td class="tRight" >&nbsp;</td>
	  <td class="tLeft" >&nbsp;</td>
	</tr>
<tr>
	<td class="tRight tTop">&nbsp;</td>
	<td class="tLeft">&nbsp;</td>
	</tr>
<tr>
	<td class="tRight">状态：</td>
	<td class="tLeft"><SELECT class="small bLeft"  name="status">
	<option value="1">启用</option>
	<option value="0">禁用</option>
	</SELECT></td>
	<td class="tLeft">&nbsp;</td>
</tr>
<tr>
	<td></td>
	<td class="center"><input type="hidden" name="ajax" value="1">
	<input type="button" value="保 存" onclick="save()" class="small submit">
	<input type="reset" class="submit  small" value="清 空" ></td>
	<td class="center">&nbsp;</td>
</tr>
</table>
</form>
</div>
</div>
